<template>
  <div class="sanheader">
    <div class="left-back" @click="back"><i class="iconfont icon-jiantou4"></i></div>
    <div class="center">{{title}}</div>
    <div class="right-list" @click="btnlist"><i class="iconfont icon-shouqianniuicon"></i></div>
  </div>
</template>

<script>
  export default {
    name: "sanheader",
    data() {
      return {
        title: '详情',
      }
    },
    methods: {
      back() {
        this.$router.back(-1)
      },
      btnlist() {
        console.log('ew');
      }

    }
  }
</script>

<style scoped lang="less">
  .sanheader {
    padding: 10px;
    background-color: darkturquoise;
    color: white;
    justify-content: space-between;
    display: flex;
    align-items: center;
  }
</style>
